<html>
 <head>
	<title>[var.TITLE]</title>
	<link href="[var.ROOT_CSS_DIR]/main.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">
	<link href="[var.ROOT_CSS_DIR]/facet/style.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">	
	<script type="text/javascript" src="[var.ROOT_DIR]js/common.js"></script>	
	<script type="text/javascript" src="[var.ROOT_DIR]js/jsmasks.js"></script>	
 </head>
 <body bgcolor="FFFFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
	<table border="0" cellspacing="0" cellpadding="0" width="100%" align="[var.POSITION]">
		<tr height="100%">
			<td>
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
				<tr valign="top">
					<td width="100%">
						<table border="0" cellspacing="0" cellpadding="0" width="100%">
						    <tr>
						      <td>
									<table border="0" width="100%" cellpadding="3" cellspacing="1" class="FacetFormTABLE" align="left">
									<form method=post name="[var.HTMLGridList]" action="[var.FileName]?PageMode=FormDN">
									  <tr>
									  	<td nowrap class="FacetColumnTD" align="center"></td>
									  	<td nowrap class="FacetColumnTD" align="center">Trans No.</td>
									    <td nowrap class="FacetColumnTD" align="center">Debtur</td>
									    <td nowrap class="FacetColumnTD" align="center">Name</td>
									    <td nowrap class="FacetColumnTD" align="center">Amount</td>
									  </tr>

									  <tr>
									  	<td nowrap class="FacetDataTD" align="center">
									  	<input type="checkbox" name="txtCheck[blg.#]" value="[blg.nobkt]" class="inputRadio" onclick="TransferData('[blg.uraian]','[blg.jumlah]','[blg.rate]','[blg.curr]','[blg.skada]','[blg.untush]','[blg.noorder]','[blg.debtur]','[blg.debnam]')">
									  	</td>
									    <td nowrap class="FacetDataTD">[blg.nobkt]</td>
									    <td class="FacetDataTD">[blg.debtur]</td>
									    <td class="FacetDataTD">[blg.debnam;block=tr;]</td>
									    <td class="FacetDataTD" align="right">[blg.jumlah;frm='0,000.00']</td>
									  </tr>

									  <tr>
									    <td colspan="5" class="FacetDataTD">[blg;block=tr;nodata]No records</td>
									  </tr>

									  <tr>
									    <td colspan="5" nowrap class="FacetColumnTD">[tbs_check.1;block=tr;if [var.RecCnt]!=0]
											<table border="0" align="left" cellpadding="0" cellspacing="0">
											  <tr align="center">[tbs_check.1;block=table;if [var.RecCnt]!=0]
											    <td width="16" class="FacetColumnTD"><a href="[sys.script_name]?PageNum=[nv.first;endpoint;friend2=a]">|&lt;</a></td>
											    <td width="16" class="FacetColumnTD"><a href="[sys.script_name]?PageNum=[nv.prev;endpoint;friend2=a]">&lt;</a></td>
											    <td width="16" class="FacetColumnTD"><a href="[sys.script_name]?PageNum=[nv.page;block=td]">[nv.page]</a></td>
											    <td width="16" bgcolor="#B7B3B7"><strong>[nv.page;block=td;currpage]</strong></td>
											    <td width="16" class="FacetColumnTD"><a href="[sys.script_name]?PageNum=[nv.next;endpoint;friend2=a]">&gt;</a></td>
											    <td width="16" class="FacetColumnTD"><a href="[sys.script_name]?PageNum=[nv.last;endpoint;friend2=a]">&gt;|</a></td>
											  </tr>
											</table>									    
									    </td>
									  </tr>
									  </form>
									</table>
						<!-- GRID SECTION -->												 
						       </td>						      
						 	</tr>
						 	<tr>
						 	  <td>
					 	  
						 	  &nbsp;
						 	  </td>
						 	</tr>
							</table>
					</td>
				</tr>
			</table>

			</td>
		</tr>
 	</table>
 </body>
 <script>
 function TransferData(uraian,jumlah,rate,curr,skada,untush,noorder,debtur,debnam) {
	oMask = new Mask('#,###.#0', 'number');
	window.opener.document.CNSummaryForm.uraian1.value = uraian;
	window.opener.document.CNSummaryForm.jumlah1.value = oMask.format(jumlah);
	window.opener.document.CNSummaryForm.rate.value = oMask.format(rate);	
	window.opener.document.CNSummaryForm.curr.value = curr;
	window.opener.document.getElementById("curr").innerHTML = curr;
	window.opener.document.getElementById("rate").innerHTML = oMask.format(rate);
	window.opener.document.CNSummaryForm.skada1.value = skada;
	window.opener.document.CNSummaryForm.untush1.value = untush;
	window.opener.document.CNSummaryForm.noorder1.value = noorder;
	window.opener.document.CNSummaryForm.debtur.value = debtur;	
	window.opener.document.CNSummaryForm.debnam.value = debnam;	
	window.opener.document.CNSummaryForm.total_trans.value = window.opener.SumTotal("jumlah");
	self.close();
 }
 
 </script>
</html>
